home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / ddj0897.zip / DYN401.ZIP / m32.dm < prev    next >
Text File  |  1997-04-12  |  7KB  |  372 lines

  1.  
  2. # DMAKE makefile for Microsoft C 32 bit
  3.  
  4. DPP = ..\bin\dpp
  5.  
  6. DPPOPTS = -C $(STRAT)
  7.  
  8.  
  9.  
  10. all : # setup.dos
  11. %@[
  12.     @echo off
  13.  
  14.     cd kernel
  15.     echo Entering kernel
  16.     $(MAKE) $(MAKEFILE) $(MAKEMACROS)
  17.     if errorlevel 1 goto done
  18.  
  19.     cd ..\class
  20.     echo Entering class
  21.     $(MAKE) $(MAKEFILE) $(MAKEMACROS)
  22.     if errorlevel 1 goto done
  23.  
  24.     cd ..\threads
  25.     echo Entering threads
  26.     $(MAKE) $(MAKEFILE) $(MAKEMACROS)
  27.     if errorlevel 1 goto done
  28.  
  29.     cd ..\dpp
  30.     echo Entering dpp
  31.     $(MAKE) $(MAKEFILE) $(MAKEMACROS) install
  32.     if errorlevel 1 goto done
  33.  
  34.     cd ..\generics
  35.     echo Entering generics
  36.     $(MAKE) $(MAKEFILE) $(MAKEMACROS)
  37.     if errorlevel 1 goto done
  38.  
  39. :done
  40.     cd ..
  41. ]
  42.  
  43. wds-all : all
  44. %@[
  45.     @echo off
  46.  
  47.     cd softprot
  48.     echo Entering softprot
  49.     $(MAKE) $(MAKEFILE) $(MAKEMACROS)
  50.     if errorlevel 1 goto done
  51.  
  52.     cd ..\windows
  53.     echo Entering windows
  54.     $(MAKE) $(MAKEFILE) $(MAKEMACROS)
  55.     if errorlevel 1 goto done
  56.  
  57.     cd ..\odbc
  58.     echo Entering odbc
  59.     $(MAKE) $(MAKEFILE) $(MAKEMACROS)
  60.     if errorlevel 1 goto done
  61.  
  62.     cd ..\ole
  63.     echo Entering ole
  64.     $(MAKE) $(MAKEFILE) $(MAKEMACROS)
  65.     if errorlevel 1 goto done
  66.  
  67. :done
  68.     cd ..
  69. ]
  70.  
  71. all-scratch : # setup.dos
  72. %@[
  73.     @echo off
  74.  
  75.     md lib
  76.  
  77.     cd kernel
  78.     echo Entering kernel
  79.     $(MAKE) $(MAKEFILE) $(MAKEMACROS) NEW=1
  80.     if errorlevel 1 goto done
  81.  
  82.     cd ..\class
  83.     echo Entering class
  84.     $(MAKE) $(MAKEFILE) $(MAKEMACROS)
  85.     if errorlevel 1 goto done
  86.  
  87.     cd ..\threads
  88.     echo Entering threads
  89.     $(MAKE) $(MAKEFILE) $(MAKEMACROS)
  90.     if errorlevel 1 goto done
  91.  
  92.     cd ..\dpp
  93.     echo Entering dpp
  94.     $(MAKE) $(MAKEFILE) $(MAKEMACROS) install
  95.     if errorlevel 1 goto done
  96.  
  97.     cd ..\generics
  98.     echo Entering generics
  99.     $(MAKE) $(MAKEFILE) $(MAKEMACROS)
  100.     if errorlevel 1 goto done
  101.  
  102. :done
  103.     cd ..
  104. ]
  105.  
  106. wds-all-scratch : all-scratch
  107. %@[
  108.     @echo off
  109.  
  110.     cd softprot
  111.     echo Entering softprot
  112.     $(MAKE) $(MAKEFILE) $(MAKEMACROS)
  113.     if errorlevel 1 goto done
  114.  
  115.     cd ..\windows
  116.     echo Entering windows
  117.     $(MAKE) $(MAKEFILE) $(MAKEMACROS) newgens
  118.     if errorlevel 1 goto done
  119.     $(MAKE) $(MAKEFILE) $(MAKEMACROS) NEW=1
  120.     if errorlevel 1 goto done
  121.  
  122.     cd ..\odbc
  123.     echo Entering odbc
  124.     $(MAKE) $(MAKEFILE) $(MAKEMACROS) newgens
  125.     if errorlevel 1 goto done
  126.     $(MAKE) $(MAKEFILE) $(MAKEMACROS)
  127.     if errorlevel 1 goto done
  128.  
  129.     cd ..\ole
  130.     echo Entering ole
  131.     $(MAKE) $(MAKEFILE) $(MAKEMACROS) newgens
  132.     if errorlevel 1 goto done
  133.     $(MAKE) $(MAKEFILE) $(MAKEMACROS)
  134.     if errorlevel 1 goto done
  135.  
  136. :done
  137.     cd ..
  138. ]
  139.  
  140. clean : 
  141. %@[
  142.     @echo off
  143.  
  144.     cd kernel
  145.     echo Entering kernel
  146.     $(MAKE) clean $(MAKEFILE)
  147.  
  148.     cd ..\class
  149.     echo Entering class
  150.     $(MAKE) clean $(MAKEFILE)
  151.  
  152.     cd ..\threads
  153.     echo Entering threads
  154.     $(MAKE) clean $(MAKEFILE)
  155.  
  156.     cd ..\generics
  157.     echo Entering generics
  158.     $(MAKE) clean $(MAKEFILE)
  159.  
  160.     cd ..\dpp
  161.     echo Entering dpp
  162.     $(MAKE) clean $(MAKEFILE)
  163.  
  164.     cd ..\examples\setup
  165.     echo Entering examples (takes a while - please wait)
  166.     call cleanall.bat
  167.  
  168.     cd ..\..
  169.     bin\rm -zq setup.unx setup.dos *.~ *.?~ *.??~ #*.* *.{*
  170. ]
  171.  
  172. wds-clean : clean
  173. %@[
  174.     @echo off
  175.  
  176.     cd softprot
  177.     echo Entering softprot
  178.     $(MAKE) clean $(MAKEFILE)
  179.  
  180.     cd ..\windows
  181.     echo Entering windows
  182.     $(MAKE) clean $(MAKEFILE)
  183.  
  184.     cd ..\odbc
  185.     echo Entering odbc
  186.     $(MAKE) clean $(MAKEFILE)
  187.  
  188.     cd ..\ole
  189.     echo Entering ole
  190.     $(MAKE) clean $(MAKEFILE)
  191.  
  192.     cd ..\winexam\setup
  193.     echo Entering winexam (takes a while - please wait)
  194.     call realcln.bat
  195.     cd ..\..
  196. ]
  197.  
  198. realclean :
  199. %@[
  200.     @echo off
  201.  
  202.     cd kernel
  203.     echo Entering kernel
  204.     $(MAKE) realclean $(MAKEFILE)
  205.  
  206.     cd ..\class
  207.     echo Entering class
  208.     $(MAKE) realclean $(MAKEFILE)
  209.  
  210.     cd ..\threads
  211.     echo Entering threads
  212.     $(MAKE) realclean $(MAKEFILE)
  213.  
  214.     cd ..\generics
  215.     echo Entering generics
  216.     $(MAKE) realclean $(MAKEFILE)
  217.  
  218.     cd ..\dpp
  219.     echo Entering dpp
  220.     $(MAKE) realclean $(MAKEFILE)
  221.  
  222.     cd ..\examples\setup
  223.     echo Entering examples (takes a while - please wait)
  224.     call cleanall.bat
  225.  
  226.     cd ..\..
  227.     bin\rm -zq setup.unx setup.dos *.~ *.?~ *.??~ #*.* *.{*
  228.     bin\rm -zq lib\d*.* bin\dpp bin\dpp.exe 
  229.     bin\rm -zq bin\addcr bin\addcr.exe bin\delcr bin\delcr.exe lib\d*.*
  230. ]
  231.  
  232.  
  233. wds-realclean : realclean
  234. %@[
  235.     @echo off
  236.  
  237.     cd softprot
  238.     echo Entering softprot
  239.     $(MAKE) realclean $(MAKEFILE)
  240.  
  241.     cd ..\windows
  242.     echo Entering windows
  243.     $(MAKE) realclean $(MAKEFILE)
  244.  
  245.     cd ..\odbc
  246.     echo Entering odbc
  247.     $(MAKE) realclean $(MAKEFILE)
  248.  
  249.     cd ..\ole
  250.     echo Entering ole
  251.     $(MAKE) realclean $(MAKEFILE)
  252.  
  253.     cd ..\winexam\setup
  254.     echo Entering winexam (takes a while - please wait)
  255.     call realcln.bat
  256.     cd ..\..
  257. ]
  258.  
  259. dist:
  260.     bin\rm -zq dynace*.zip
  261.     zip -r dynace README m32.dm makefile.unx makefile.inc change.log
  262.     zip dynace bin\* class\* docs\* dpp\* generics\* lib\*
  263.     zip dynace include\* kernel\* threads\* utils\* windows\* odbc\*
  264.     zip -r dynace examples\list examples\exam* examples\setup
  265.     zip -r dynace winexam\list winexam\exam* winexam\setup
  266.  
  267.  
  268. makegens:
  269. %@[
  270.     @echo off
  271.  
  272.     cd kernel
  273.     ..\bin\rm -zq generics.* 
  274.     $(DPP) $(DPPOPTS) -h -i -s *.d
  275.     if errorlevel 1 goto done
  276.     ..\bin\mv generics.h ../include
  277.  
  278.     cd ..\class
  279.     $(DPP) $(DPPOPTS) -h -i -g ../include/generics.h -s *.d
  280.     if errorlevel 1 goto done
  281.     ..\bin\mv generics.h ../include
  282.  
  283.     cd ..\threads
  284.     $(DPP) $(DPPOPTS) -h -i -g ../include/generics.h -s *.d
  285.     if errorlevel 1 goto done
  286.     ..\bin\mv generics.h ../include
  287.  
  288. :done
  289.     cd ..
  290. ]
  291.  
  292. wds-makegens : makegens
  293. %@[
  294.     @echo off
  295.  
  296.     cd windows
  297.     $(DPP) $(DPPOPTS) -h -i -g ../include/generics.h -s *.d
  298.     if errorlevel 1 goto done
  299.     ..\bin\mv generics.h ../include/generics.h
  300.  
  301.     cd ..\odbc
  302.     $(DPP) $(DPPOPTS) -h -i -g ../include/generics.h -s *.d
  303.     if errorlevel 1 goto done
  304.     ..\bin\mv generics.h ../include/generics.h
  305.  
  306.     cd ..\ole
  307.     $(DPP) $(DPPOPTS) -h -i -g ../include/generics.h -s *.d
  308.     if errorlevel 1 goto done
  309.     ..\bin\mv generics.h ../include/generics.h
  310.  
  311. :done
  312.     cd ..
  313. ]
  314.  
  315.  
  316. newgens : 
  317. %@[
  318.     @echo off
  319.  
  320.     bin\rm include\generics.h
  321.  
  322.     cd kernel
  323.     echo Entering kernel
  324.     $(MAKE) $(MAKEFILE) $(MAKEMACROS) reallynewgens
  325.     if errorlevel 1 goto done
  326.  
  327.     cd ..\class
  328.     echo Entering class
  329.     $(MAKE) $(MAKEFILE) $(MAKEMACROS) newgens
  330.     if errorlevel 1 goto done
  331.  
  332.     cd ..\threads
  333.     echo Entering threads
  334.     $(MAKE) $(MAKEFILE) $(MAKEMACROS) newgens
  335.     if errorlevel 1 goto done
  336.  
  337.     cd ..\dpp
  338.     echo Entering dpp
  339.     $(MAKE) $(MAKEFILE) $(MAKEMACROS) newgens
  340.     if errorlevel 1 goto done
  341.     $(MAKE) $(MAKEFILE) $(MAKEMACROS) generics.c
  342.     if errorlevel 1 goto done
  343.  
  344. :done
  345.     cd ..
  346. ]
  347.  
  348.  
  349. wds-newgens : newgens
  350. %@[
  351.     @echo off
  352.  
  353.     cd windows
  354.     echo Entering windows
  355.     $(MAKE) $(MAKEFILE) $(MAKEMACROS) newgens
  356.     if errorlevel 1 goto done
  357.  
  358.     cd ..\odbc
  359.     echo Entering odbc
  360.     $(MAKE) $(MAKEFILE) $(MAKEMACROS) newgens
  361.     if errorlevel 1 goto done
  362.  
  363.     cd ..\ole
  364.     echo Entering ole
  365.     $(MAKE) $(MAKEFILE) $(MAKEMACROS) newgens
  366.     if errorlevel 1 goto done
  367.  
  368. :done
  369.     cd ..
  370. ]
  371.  
  372.